package com.ruifu.act;

import com.fhzncloud.cloud.common.security.annotation.EnableCloudFeignClients;
import com.fhzncloud.cloud.common.security.annotation.EnableCloudResourceServer;
import com.fhzncloud.cloud.common.swagger.annotation.EnableCloudSwagger2;
import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableOAuth2Client;

/**
 * 注册
 *
 * @author li176
 */
@EnableCloudResourceServer(details = true)
@EnableOAuth2Client
@EnableCloudFeignClients(basePackages = {"com.fhzncloud.cloud", "com.ruifu"})
@SpringCloudApplication
@EnableAutoConfiguration(exclude = {SecurityAutoConfiguration.class})
@EnableCloudSwagger2
public class CloudActApplication {
    public static void main(String[] args) {
        SpringApplication.run(CloudActApplication.class, args);
    }
}
